const app = getApp()
Page({
  /**
   * 页面的初始数据
   */
  data: {
    url:''
  },
  onLoad: function () {
    let config = wx.getStorageSync('wechat_config')
    this.setData({
      url: app.apiroot + '/openapi-' + config.app_id + '/v1/bindOfficial'
    })
  },
  /**
   * 接受参数
  */
  getMessage: function (e) {
    var that = this;
    var options = e.detail.data[0];
    wx.setStorageSync('official_uid',options.official_uid);
  },
})